home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / fcmp200.zip / FCOMP.DOC < prev    next >
Text File  |  1993-10-02  |  6KB  |  155 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                              FCOMP 2.00
  12.  
  13.  
  14.                      Copyright Guido Klemans 1993
  15.  
  16.  
  17.  
  18.  
  19.  
  20. Introduction
  21.  
  22. FCOMP is a tool to compare two files, to see if they are different and if so,
  23. where. The files are compared in blocks of 200 bytes.  
  24. FCOMP expects two filenames on the command line (see Command Line
  25. Parameters), a block from the first file will be displayed on the left of
  26. the screen (this file will be called the left file) and a block from the
  27. second file will be displayed on the right (this will be the right file).
  28. You can scroll through both files simultaneously or scroll one independent of 
  29. the other in steps of 200, 10 or 1 byte(s). The displayed blocks will be 
  30. compared to each other, differences will be highlighted. You can send a 
  31. block or all blocks to the printer. You can choose between ASCII or
  32. hexadecimal display. FCOMP can search for blocks with differences but you can
  33. also search manually.
  34.  
  35. The following files are included:
  36.  
  37. fcomp.exe     the FCOMP 2.00 program
  38. fcomp.doc     this document
  39. fcomp.cfg     the FCOMP configuration file
  40. file_id.diz   a short discription of FCOMP
  41.  
  42.  
  43.  
  44. Command Line Parameters
  45.  
  46. The command line parameters for FCOMP are as follows:
  47.  
  48. FCOMP file1 file2 [/u] [/a|/h] [/p]
  49.  
  50. - Optional parameters are shown between brackets.
  51. - The first two parameters will be interpreted as the names of
  52.   the files you want to compare and are mandatory.
  53. - The optional parameters can be typed using either upper case
  54.   or lower case and can be in any order provided that they
  55.   follow the mandatory filenames.
  56. - All optional parameters must be preceded by a '/' character.
  57.  
  58.     /a   Display files in ASCII, can not be used in conjunction
  59.          with the /h parameter.
  60.  
  61.     /h   Display files in Hexadecimal notation, can not be used in
  62.          conjunction with the /a parameter.
  63.  
  64.     /u   Normally FCOMP will search the files in blocks of 200 bytes and
  65.          display the first block where the files are different, or indicate
  66.          that they are not. With this parameter you can force FCOMP to
  67.          display the first block, so you can scroll through the files by hand.
  68.  
  69.     /p   Send output to the printer. All 200 byte blocks where the files are
  70.          different are printed. When used in conjunction with the /u parameter
  71.          all blocks will be printed.
  72.  
  73. Command line parameters override default settings and setting stored in
  74. the configuration file.
  75.  
  76.  
  77. Configuration File
  78.  
  79. FCOMP uses a configuration file (called FCOMP.CFG) to store colorsettings and
  80. the displaymode (ASCII or hexadecimal). This configuration file must be in the
  81. same directory as the FCOMP program file. If FCOMP can't find it's 
  82. configuration file, default settings wil be used.
  83.  
  84.  
  85. Function keys
  86.  
  87.     F1                  Display a short list of function keys
  88.     F3                  Toggle between hexadecimal or ASCII display
  89.     F4                  Find the next block of 200 bytes where the files 
  90.                         are different
  91.     F5                  Enter a new offset for both files
  92.     Left Shift F5       Enter a new offset for the left file
  93.     Right Shift F5      Enter a new offset for the right file
  94.     Left Shift F6       Synchronise the left file with the right file
  95.     Right Shift F6      Synchronise the right file with the left file
  96.     F7                  Print the currently displayed block
  97.  
  98.     F8                  Change the background color
  99.     Left Shift F8       Change the foreground color
  100.     Right Shift F8      Change the highlight color
  101.  
  102.     F9                  Save the current color and display settings to
  103.                         the configuration file
  104.  
  105.     Esc                 Exit FCOMP
  106.  
  107.  
  108. Cursor Keys
  109.  
  110.     PageUp        Go back 200 bytes (1 block)
  111.     PageDown            Go 200 bytes (1 block) forward
  112.     Up                  Go back 10 bytes
  113.     Down                Go 10 bytes forward
  114.     Left                Go 1 byte forward
  115.     Right               Go 1 byte back
  116.     Home                Go to the first byte
  117.  
  118.     Use the cursor keys to scroll through both files simultaneously, or
  119.     in combination with Left Shift to scroll through the left file or with
  120.     Right Shift to scroll through the right file.
  121.  
  122.  
  123.  
  124. Licence:
  125.  
  126.  
  127. Distribution:
  128.  
  129. You may distribute this software provided that no modifications are made
  130. and all files are included.
  131. No price or other compensation may be charged for this software.
  132. Subscription BBSs may only charge standard connect-time rates or membership
  133. fees. Diskette distribution cost for handling, media and shipping
  134. may be charged, as long as the total per disk does not exceed US $8.00.
  135. Vendors who wish to distribute this software as part of a collection
  136. such as PsL''s, MegaDisk or CD-ROM package, may do so. 
  137. If this software is over one year old, a more current version will probably 
  138. be available from the author.
  139.  
  140. Use:
  141. The author will not be liable for any damage rising form the use, misuse or
  142. inability to use this software. By using the software you agree to this.
  143.  
  144. If you like this program, send me a postcard (or some money if you like it 
  145. a lot), if you use this program in business or to make money :-) , it would 
  146. be fair to pay me something.
  147.  
  148. Please send any suggestions, comments, postcards or cheques to:
  149.  
  150.                              Guido Klemans
  151.                              Abdij van Egmondstr. 41
  152.                              5037 CR Tilburg
  153.                              The Netherlands
  154.  
  155.